package top.wyix.server.test.service;

import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import top.wyix.module.test.controller.admin.framework.vo.ValDemoReq;
import top.wyix.module.test.service.IValidateService;
import top.wyix.server.test.BaseTest;

/**
 * @author wangdx
 */
@Slf4j
public class Validate extends BaseTest {
    @Autowired
    private IValidateService validateService;

    @Test
    void validateEn() {
        log.info("re={}", validateService.validateEn(new ValDemoReq()));
    }

    @Test
    void validate() {
        log.info("re={}", validateService.validate(12, "null"));
//        log.info("re={}", validateService.validate(null, null));
    }

    @Test
    void hello() {
        log.info("re={}", validateService.hello(12, "null"));
//        log.info("re={}", validateService.validate(null, null));
    }
}
